<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <%@ taglib prefix="perm" uri="http://wanhuakeji.com/permission" %>
        <%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
        <%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
        <%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
        <script type="text/javascript" src="${path}/html/js/js-jsp/layout-sub.js"></script>
        <script type="text/javascript"
                src="${path}/html/js/js-jsp/wo/attend/js/attendList.js?v=<%out.print(Math.random());%>"></script>
        <script>
            searchBtn = <perm:hasPermission permission="rules:wo_attend_find"/>;
            viewBtn = <perm:hasPermission permission="rules:wo_attend_view"/>;
            detailBtn = <perm:hasPermission permission="rules:wo_attend_detail"/>;
        </script>
    </head>
    <body style="height:100%;">
        <div class="easyui-layout" fit="true" space="2">
            <input type="hidden" value="${requestScope.prId}" id="prId_">
            <div region="north" style="height:100%;">
                <div class="easyui-layout" fit="true" space="2">
                    <div region="north" class="searchToolBar" border="false" style="height: 120px;">
                        <fieldset>
                            <legend>系统操作</legend>
                            <form id="employeeQueryForm" name="employeeQueryForm" method="post">
                                <table class="searchTable">
                                    <tr class="searchTableTr">
                                        <td>
                                            <input class="easyui-textbox" type="text" label="人员姓名：" labelWidth="82"
                                                   labelposition="left" data-options="prompt:'请输入人员姓名'" id="userName_"
                                                   style="width:90%; height: 32px"/>
                                        </td>
                                        <td>
                                            <input class="easyui-combobox" label="人员状态：" labelWidth="82" labelposition="left"
                                                   id="deleted_" style="width:90%; height: 32px" editable="false"
                                                   data-options="valueField: 'value',
                                                                   textField: 'label',
                                                                    data: [{
                                                                                label: '--请选择--',
                                                                                value: ''
                                                                            },{
                                                                                label: '在职',
                                                                                value: '0'
                                                                            },{
                                                                                label: '离职',
                                                                                value: '1'
                                                                            }]"/>
                                        </td>
                                        <td colspan="2" style="width: 50%;">
                                            <!--劳务人员操作菜单-->
                                            <div class="searchButton">
                                                <div id="attend_menu"></div>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </form>
                        </fieldset>
                        <div style="margin-bottom:2px;margin-left:25%;height:30px">
                            <div style="width:120px;float:left">
                                <p>
                                    <span style="float:left"><img src="${path}/html/images/personManager.png" width="20px"
                                                                  height="20px"></span>
                                    <span id="historyPersonCount" style="float:left;margin-left:10px;font-size: 20px"></span>
                                </p>
                                <p style="clear: both">
                                    <span style="font-size: 10px">历史登记施工人数</span>
                                </p>
                            </div>
                            <div style="width:120px;float:left;margin-left:15%">
                                <p>
                                    <span style="float:left"><img src="${path}/html/images/personManager.png" width="20px"
                                                                  height="20px"></span>
                                    <span id="todayAttendanceCount" style="float:left;margin-left:10px;font-size: 20px"></span>
                                </p>
                                <p style="clear: both">
                                    <span style="font-size: 10px">今日出勤人数</span>
                                </p>
                            </div>
                            <div style="width:120px;float:left;margin-left:15%">
                                <p>
                                    <span style="float:left"><img src="${path}/html/images/personManager.png" width="20px"
                                                                  height="20px"></span>
                                    <span id="quitedPersonCount" style="float:left;margin-left:10px;font-size: 20px"></span>
                                </p>
                                <p style="clear: both">
                                    <span style="font-size: 10px">已离职人数</span>
                                </p>
                            </div>
                        </div>
                    </div>
                    <div region="center" border="false" style="padding: 0px;">
                        <!--劳务人员表格列表-->
                        <table id="attend_dataList"></table>
                    </div>
                </div>
            </div>
        </div>
        <script type="text/javascript" src="${path}/html/js/js-jsp/common-optionBtnArray.js"></script>
    </body>
</html>
